package com.qiangesoft.im.pojo.vo;

import java.util.List;

/**
 * 分页数据
 *
 * @author qiangesoft
 * @date 2023-04-06
 */
public class PageResultVO<T> {
    /**
     * 页码
     */
    private int pageNum;

    /**
     * 条数
     */
    private int pageSize;

    /**
     * 总数
     */
    private long total;

    /**
     * 页数
     */
    private long pages;

    /**
     * 结果集
     */
    private List<T> results;

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public long getPages() {
        return pages;
    }

    public void setPages(long pages) {
        this.pages = pages;
    }

    public List<T> getResults() {
        return results;
    }

    public void setResults(List<T> results) {
        this.results = results;
    }
}
